<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Pepr3D: GnuplotDebug&lt; PointType &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="pepr3d_icon.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Pepr3D
   &#160;<span id="projectnumber">v1.0</span>
   </div>
   <div id="projectbrief">Pepr3D is a 3D graphics editor designed for FDM printing</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_gnuplot_debug.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_gnuplot_debug-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">GnuplotDebug&lt; PointType &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a7f9f4b6f6232f04a49b6826211e10e81"><td class="memItemLeft" align="right" valign="top"><a id="a7f9f4b6f6232f04a49b6826211e10e81"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>GraphType</b> { <b>LINES</b>, 
<b>LINESPOINTS</b>, 
<b>POINTS</b>
 }</td></tr>
<tr class="separator:a7f9f4b6f6232f04a49b6826211e10e81"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac5fe70017e88c33c296439b5eac9fe91"><td class="memItemLeft" align="right" valign="top"><a id="ac5fe70017e88c33c296439b5eac9fe91"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>GnuplotDebug</b> (const <a class="el" href="class_gnuplot_debug.html">GnuplotDebug</a> &amp;)=delete</td></tr>
<tr class="separator:ac5fe70017e88c33c296439b5eac9fe91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a7c67bbc05029c50f9a8d80db0e17c0"><td class="memTemplParams" colspan="2">template&lt;typename Polygon &gt; </td></tr>
<tr class="memitem:a6a7c67bbc05029c50f9a8d80db0e17c0"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_gnuplot_debug.html#a6a7c67bbc05029c50f9a8d80db0e17c0">addPoly</a> (const Polygon &amp;poly, const std::string &amp;rgbStr, GraphType type=GraphType::LINES)</td></tr>
<tr class="memdesc:a6a7c67bbc05029c50f9a8d80db0e17c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add polygon to view.  <a href="#a6a7c67bbc05029c50f9a8d80db0e17c0">More...</a><br /></td></tr>
<tr class="separator:a6a7c67bbc05029c50f9a8d80db0e17c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac727f20a69cf6ab905ef30df076b93ad"><td class="memItemLeft" align="right" valign="top"><a id="ac727f20a69cf6ab905ef30df076b93ad"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>exportToFile</b> ()</td></tr>
<tr class="separator:ac727f20a69cf6ab905ef30df076b93ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a3a8a3177495da970501359805e24afd3"><td class="memItemLeft" align="right" valign="top"><a id="a3a8a3177495da970501359805e24afd3"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>typeToString</b> (GraphType type)</td></tr>
<tr class="separator:a3a8a3177495da970501359805e24afd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ac61e5ea9d59fe22cc032ed8205a8d9b7"><td class="memItemLeft" align="right" valign="top"><a id="ac61e5ea9d59fe22cc032ed8205a8d9b7"></a>
std::vector&lt; std::vector&lt; PointType &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mPolysToDraw</b></td></tr>
<tr class="separator:ac61e5ea9d59fe22cc032ed8205a8d9b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af29afad0bc0edc62400b851e371ff22c"><td class="memItemLeft" align="right" valign="top"><a id="af29afad0bc0edc62400b851e371ff22c"></a>
std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mRgbStrings</b></td></tr>
<tr class="separator:af29afad0bc0edc62400b851e371ff22c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07521d13a95439ffa57c4e8872f6debb"><td class="memItemLeft" align="right" valign="top"><a id="a07521d13a95439ffa57c4e8872f6debb"></a>
std::vector&lt; GraphType &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mTypes</b></td></tr>
<tr class="separator:a07521d13a95439ffa57c4e8872f6debb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6a7c67bbc05029c50f9a8d80db0e17c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a7c67bbc05029c50f9a8d80db0e17c0">&#9670;&nbsp;</a></span>addPoly()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointType &gt; </div>
<div class="memtemplate">
template&lt;typename Polygon &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_gnuplot_debug.html">GnuplotDebug</a>&lt; PointType &gt;::addPoly </td>
          <td>(</td>
          <td class="paramtype">const Polygon &amp;&#160;</td>
          <td class="paramname"><em>poly</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>rgbStr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GraphType&#160;</td>
          <td class="paramname"><em>type</em> = <code>GraphType::LINES</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add polygon to view. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rgbStr</td><td>Color in gnuplot format: #CCCCCC </td></tr>
    <tr><td class="paramname">type</td><td>Type of graph to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/Home/MFF/1-Mgr/projekt/pepr3d/src/geometry/<a class="el" href="_gnuplot_debug_helper_8h_source.html">GnuplotDebugHelper.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_gnuplot_debug.html">GnuplotDebug</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
